Skip to content

core.Validator interface#20

Merged
e-asphyx merged 1 commit intov2from
internal-ops-validation
Apr 7, 2026
Merged

core.Validator interface#20
e-asphyx merged 1 commit intov2from
internal-ops-validation

Conversation

@e-asphyx
Copy link
Copy Markdown
Contributor

@e-asphyx e-asphyx commented Apr 7, 2026

core.Validator interface may be implemented by some operations to allow pre-flight validation before signing/injection. Currently implemented by UpdateCompanionKey to check if the key is BLS public key.
In the future U protocol it must be also implemented by UpdateConsensusKey and Delegation operations to check if the key/address is not a MLDSA44 key/address

@e-asphyx e-asphyx merged commit 90c777b into v2 Apr 7, 2026
@e-asphyx e-asphyx deleted the internal-ops-validation branch April 7, 2026 21:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant